projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28a9fa2
)
cups: Don't emit a warning if we can't talk to avahi
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 2 Aug 2020 02:42:25 +0000
(22:42 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 2 Aug 2020 03:24:36 +0000
(23:24 -0400)
The g_warning in this case makes the templates test
fail if it can't connect to the system bus (as is the
case for running installed tests in ci).
modules/printbackends/gtkprintbackendcups.c
patch
|
blob
|
history
diff --git
a/modules/printbackends/gtkprintbackendcups.c
b/modules/printbackends/gtkprintbackendcups.c
index f3435b57bbf44cf73a8702b086394a6be10a514f..b168d3436894944db04ec7c8deb3610ad90a4756 100644
(file)
--- a/
modules/printbackends/gtkprintbackendcups.c
+++ b/
modules/printbackends/gtkprintbackendcups.c
@@
-3415,7
+3415,7
@@
avahi_create_browsers (GObject *source_object,
if (!dbus_connection)
{
if (!g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED))
- g_
warning ("Couldn't connect to D-Bus system bus,
%s", error->message);
+ g_
message ("Couldn't connect to D-Bus system bus, avahi printers will not be available:
%s", error->message);
g_error_free (error);
return;